import menuJson from '@/config/menu.json';

export default {
	idCard:'',
	baseUrl:'http://62.234.20.156:9527/',
	userInfo: uni.getStorageSync('open'),
	sidebar:{
		visible:false,
		menu: menuJson
	},
	cartList: uni.getStorageSync('cartList'),
	reserveList: uni.getStorageSync('reserveList'),
	cartSelectedList(state,cartSelectedList) {
		return state.cartSelectedList
	},
	sidebarInfo(state,sidebarInfo) {
		return state.sidebarInfo
	},
	cartListStateKeep(state,cartListStateKeep) {
		return state.cartListStateKeep
	},
	reserveListStateKeep(state,reserveListStateKeep) {
		return state.reserveListStateKeep
	},
	cartGoodsList: uni.getStorageSync('cartGoodsList'),
};
